package cn.fl.mcr.vo;

import cmm.web.core.framework.vo.BaseVO;

import java.util.Date;

/**
 * @Description: 回购账单主表
 */
public class McrBillMReVO extends BaseVO {

    private static final long serialVersionUID = 1L;
    /**
     * 客户id
     */
    private Long cstId;
    /**
     * 客户名称
     */
    private String  cstNm ;
    /**
     * 账单id
     */
    private Long billID ;
    /**
     * 回购前合同号
     */
    private String crCntNo ;
    /**
     * 回购后合同号
     */
    private String crCntNoNew ;
    /**
     * 放款金额
     */
    private String crAmt ;
    /**
     * 放款时间
     */
    private Date crDt ;
    private String crDtString;

    private double crRatePct;
    /**
     * 是否正常结清
     */
    private Integer isSettle ;
    private String settle;

    /**回购主题*/
    private Integer repoSubject;

    public Long getCstId() {
        return cstId;
    }

    public void setCstId(Long cstId) {
        this.cstId = cstId;
    }

    public String getCstNm() {
        return cstNm;
    }

    public void setCstNm(String cstNm) {
        this.cstNm = cstNm;
    }

    public Long getBillID() {
        return billID;
    }

    public void setBillID(Long billID) {
        this.billID = billID;
    }

    public String getCrCntNo() {
        return crCntNo;
    }

    public void setCrCntNo(String crCntNo) {
        this.crCntNo = crCntNo;
    }

    public String getCrCntNoNew() {
        return crCntNoNew;
    }

    public void setCrCntNoNew(String crCntNoNew) {
        this.crCntNoNew = crCntNoNew;
    }

    public String getCrAmt() {
        return crAmt;
    }

    public void setCrAmt(String crAmt) {
        this.crAmt = crAmt;
    }

    public Date getCrDt() {
        return crDt;
    }

    public void setCrDt(Date crDt) {
        this.crDt = crDt;
    }

    public Integer getIsSettle() {
        return isSettle;
    }

    public void setIsSettle(Integer isSettle) {

        this.isSettle = isSettle;
        if (null != isSettle ){
            this.setSettle(isSettle == 0 ? "错误":"正常");
        }
    }

    public Integer getRepoSubject() {
        return repoSubject;
    }

    public void setRepoSubject(Integer repoSubject) {
        this.repoSubject = repoSubject;
    }



    public String getCrDtString() {
        return crDtString;
    }

    public void setCrDtString(String crDtString) {
        this.crDtString = crDtString;
    }

    public double getCrRatePct() {
        return crRatePct;
    }

    public void setCrRatePct(double crRatePct) {
        this.crRatePct = crRatePct;
    }

    public String getSettle() {
        return settle;
    }

    public void setSettle(String settle) {
        this.settle = settle;
    }
}
